<?php

namespace addons\teacherselect;
use app\common\controller\Addon;

/**
 * 老师选择插件
 * @author yuyifade
 */

    class Teacherselect extends Addon{

        public $info = array(
            'name'=>'teacherselect',
            'title'=>'老师选择',
            'description'=>'老师选择',
            'status'=>1,
            'author'=>'yuyifade',
            'version'=>'0.1'
        );

        public function install(){
            return true;
        }

        public function uninstall(){
            return true;
        }

        //实现的teacherSelect钩子方法
        public function teacherSelect($param){
            return $this->fetch("teacherSelect");
        }

    }